package com.bluesky.drcp.persistence.dao;

import java.util.List;

import com.bluesky.drcp.business.Function;

public interface FunctionDao {
	
	Function getRoot();	
	Function get(String id);
	List getChildren(String id);
	Function getByParentIdAndName(String parentId,String name);
	
	List getAll();
	void delete(String id);
	
	String save(Function function);
	void update(Function function);
}
